package com.heima.zuoye.day08.timu3;

public class SanGuo {
    private String name;
    private String zihao;

    public SanGuo() {
    }

    public SanGuo(String name, String zihao) {
        this.name = name;
        this.zihao = zihao;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getZihao() {
        return zihao;
    }

    public void setZihao(String zihao) {
        this.zihao = zihao;
    }

    @Override
    public String toString() {
        return "SanGuo{" +
                "name='" + name + '\'' +
                ", zihao='" + zihao + '\'' +
                '}';
    }
}
